<?php
// Luu dieu kien loc theo linh vuc 
$v_agency_id = $arr_single_onegate_qa['1'];
$v_cate_id = $arr_single_onegate_qa['2'];
$v_staff_id=  $_SESSION['staff_id'];
if(_is_sqlserver()){
	$sql = "Exec Onegate_QACheckApproverPermission  " . $v_agency_id . ", " ;
	$sql = $sql . $v_cate_id . ",'" ;
	$sql = $sql . $v_staff_id . "'" ;
	$ado_conn->SetFetchMode(ADODB_FETCH_NUMBER);
	$arr_check_permission_approver = $ado_conn->GetRow($sql);
}?>